package com.smartum.mpr.client.utils;

import com.google.gwt.dom.client.Style;
import com.google.gwt.user.client.DOM;

/**
 * Utility class which helps in some common situations.
 */
public class Utils {
    public static final String LOGO_IMAGE_ID = "logoImage";

    public static void hideLogoImage() {
        DOM.getElementById(LOGO_IMAGE_ID).getStyle().setVisibility(Style.Visibility.HIDDEN);
    }

    public static void showLogoImage() {
        DOM.getElementById(LOGO_IMAGE_ID).getStyle().setVisibility(Style.Visibility.VISIBLE);
    }
}
